package com.glink.manage.dto.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class RoleSaveRequestDTO  implements Serializable {

    private static final long serialVersionUID = 6251551588899941893L;

    @ApiModelProperty(name = "name", notes = "角色名称")
    @Size(max = 64, message = "角色名称超出限制，长度限制64位")
    private String name;

    @ApiModelProperty(name = "remark", notes = "备注")
    @Size(max = 250, message = "备注超出限制，长度限制250位")
    private String remark;
}
